<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>产品碳认证</title>
    <style>
      html,
      body {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
      }
      .product-carbon-certification {
        width: 100vw;
        height: 100%;
        position: relative;
      }
      .block-chain {
        width: 100vw;
        height: 80px;
        z-index: 5;
        top: 29%;
        position: absolute;
      }
      img {
        width: 100vw;
        top: 0%;
        position: absolute;
      }
    </style>
  </head>
  <body>
    <div class="product-carbon-certification">
      <div class="block-chain"></div>
      <img src="./assets/product-carbon-certification/product-carbon-certification.jpg" />
    </div>
  </body>
  <script type="text/javascript">
    window.onload = () => {
      const blockChain = document.querySelector('.block-chain');
      const blockChainClick = () => {
        window.open(`${window.location.origin}/blockchain.html`);
      };
      blockChain.addEventListener('click', blockChainClick, false);
    };
  </script>
</html>
